//
// option.cpp for 203poisson in /home/morel_t//Rendu/maths/203poisson
// 
// Made by thomas morel
// Login   <morel_t@epitech.net>
// 
// Started on  Tue Mar 20 18:51:28 2012 thomas morel
// Last update Tue Mar 20 18:58:04 2012 thomas morel
//

#include	<list>
#include	"203poisson.hh"

std::list<double>	option_2(int n, double p)
{
  std::list<double>	list;

  list.push_back(0);
  for (int x = 0; x < n; x++)
    list.push_back(loi_binomiale(n, x, p));
  list.push_back(0);
  return (list);
}

std::list<double>	option_3(double l)
{
  std::list<double>	list;

  list.push_back(0);
  for (int x = 0; x < 100; x++)
    list.push_back(loi_poisson(x, l));
  list.push_back(0);
  return (list);
}
